package main

import (
	"blog-back-end/common/utils"
	"blog-back-end/router"
	"github.com/gin-gonic/gin"
)

func main() {

	utils.InitialViperConfog()
	utils.InitialDbConfig()
	var r = gin.Default()

	router.User(r)

	err := r.Run(":9000")
	if err != nil {
		return
	}
}
